package com.ruoyi.cs.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 红包开启记录对象 t_redbag_open
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
public class TRedbagOpen extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 红包开启记录ID */
    @ApiModelProperty(value = "红包开启记录ID")
    private String redbagKqId;

    /** 红包ID */
    @ApiModelProperty(value = "红包ID")
    @Excel(name = "红包ID")
    private String redbagId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    @Excel(name = "用户ID")
    private String userId;

    /** 红包金额 */
    @ApiModelProperty(value = "红包金额")
    @Excel(name = "红包金额")
    private BigDecimal redbagMoney;

    /** 红包口令 */
    @ApiModelProperty(value = "红包口令")
    @Excel(name = "红包口令")
    private String redbagCode;

    /** 备注2 */
    @ApiModelProperty(value = "备注2")
    @Excel(name = "备注2")
    private String remark2;

    /** 备注3 */
    @ApiModelProperty(value = "备注3")
    @Excel(name = "备注3")
    private String remark3;

    /** 备注4 */
    @ApiModelProperty(value = "备注4")
    @Excel(name = "备注4")
    private String remark4;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    @Excel(name = "删除标志")
    private String delFlag;

    /** 版本号 */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Long version;

    /**
     * 后台标志
     */
    @ApiModelProperty(value = "后台标志")
    private String backStage;

    public String getBackStage() {
        return backStage;
    }

    public void setBackStage(String backStage) {
        this.backStage = backStage;
    }

    public void setRedbagKqId(String redbagKqId) 
    {
        this.redbagKqId = redbagKqId;
    }

    public String getRedbagKqId() 
    {
        return redbagKqId;
    }
    public void setRedbagId(String redbagId) 
    {
        this.redbagId = redbagId;
    }

    public String getRedbagId() 
    {
        return redbagId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setRedbagMoney(BigDecimal redbagMoney) 
    {
        this.redbagMoney = redbagMoney;
    }

    public BigDecimal getRedbagMoney() 
    {
        return redbagMoney;
    }
    public void setRedbagCode(String redbagCode) 
    {
        this.redbagCode = redbagCode;
    }

    public String getRedbagCode() 
    {
        return redbagCode;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public String getRemark3() {
        return remark3;
    }

    public void setRemark3(String remark3) {
        this.remark3 = remark3;
    }

    public String getRemark4() {
        return remark4;
    }

    public void setRemark4(String remark4) {
        this.remark4 = remark4;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("redbagKqId", getRedbagKqId())
            .append("redbagId", getRedbagId())
            .append("userId", getUserId())
            .append("redbagMoney", getRedbagMoney())
            .append("redbagCode", getRedbagCode())
            .append("remark", getRemark())
                .append("remark2", getRemark2())
                .append("remark3", getRemark3())
                .append("remark4", getRemark4())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .toString();
    }
}
